<form method="post" action="{php echo url('site/entry/savexunishare',array('m' => 'stonefish_chailihe','rid' => $rid))}" id="form1">
	<input type="hidden" name="uid" value="{$data['id']}">
	<div class="table-responsive" style="height:300px;overflow-Y: auto; overflow-X:hidden;">
	<table class="table" style="min-width:518px;">
	<tr>
		<td style="border-top:none;vertical-align:middle;width:120px;"><strong>必需选择礼盒</strong></td>
		<td style="border-top:none;vertical-align:middle">
		    <select name="liheid" class="form-control" style="float:left">
                <option value="" selected>请选择礼盒</option>
					{loop $lihelist $lihelistrow}
					<option value="{$lihelistrow['id']}">{$lihelistrow['prizerating']}-{$lihelistrow['prizename']}({$lihelistrow['sharenum']}/{$lihelistrow['break']})</option>
					{/loop}						
            </select>
		</td>
	</tr>
	<tr>
		<td style="border-top:none;vertical-align:middle;width:120px;"><strong>头像</strong></td>
		<td style="border-top:none;vertical-align:middle;">{php echo tpl_form_field_image('avatar','../addons/stonefish_chailihe/template/images/avatar.jpg');}</td>
	</tr>
	<tr>
		<td style="border-top:none;vertical-align:middle;width:120px;"><strong>昵称</strong></td>
		<td style="border-top:none;vertical-align:middle"><input type="text" id="nickname" class="form-control" name="nickname" value="系统"></td>
	</tr>	
	<tr>
		<td style="border-top:none;vertical-align:middle;" colspan="2"><button class="btn btn-primary"><i class="fa fa-file-text-o"></i> 保存虚拟助力</button></td>
	</tr>
	<input name="token" type="hidden" value="{$_W['token']}"/>
	</table>
	</div>
</form>